set(test_SRC
    test_main.cpp
    sinks/test_stdout_sinks.cpp
    sinks/test_file_sink.cpp
    sinks/test_async_sink.cpp
    filters/test_repeat_filter.cpp
    filters/test_async_filter.cpp
    loggers/test_basic_logger.cpp
    stl/test_string_utils.cpp
    test_ringbuffer.cpp
    test_message_queue.cpp)

add_executable(test_${PROJECT_NAME} ${test_SRC})
target_compile_definitions(test_${PROJECT_NAME} PRIVATE CATCH_CONFIG_ENABLE_BENCHMARKING)
target_include_directories(test_${PROJECT_NAME} PUBLIC ${PROJECT_SOURCE_DIR}/include)
target_link_libraries(test_${PROJECT_NAME} ${PROJECT_NAME})
